package net.sf.xoperator.ui.txt;

import java.util.ArrayList;
import java.util.List;

import net.sf.xoperator.blackboard.NoPlanBlackBoardControl;

/**
 * creates <code>Interactor</code> objects by constructing them out of an xml configuration file. 
 * @author joerg
 *
 */
public class InteractorFactory {
	
	public InteractorFactory(){
		
	}
	
	public Interactor createInteractor(NoPlanBlackBoardControl control){
		List<Interaction> interactions = new ArrayList<Interaction>();
		interactions.add(new QueryCommand());
		 
		
		
		return new Interactor(interactions, control);
	}

}
